package com.example.consumer.controller;

import com.alibaba.dubbo.config.annotation.Reference;
import com.example.provider.services.TestService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

	@Reference
	private TestService testServices;

	@RequestMapping("/")
	public String run1(){
		return testServices.helloDubbo("T");
	}
}
